package com.pagoda.nerp.trade.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.Date;

@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
public class MdGoods {
    /**
     * 商品ID,非自增
            单据类型编码：GOODS_ID
     *
     * @mbg.generated
     */
    private Integer goodsId;

    /**
     * 商品编码
            单据类型编码：GOODS_CODE
     *
     * @mbg.generated
     */
    private String goodsCode;

    /**
     * 商品名称
     *
     * @mbg.generated
     */
    private String goodsName;

    /**
     * 有效、启用标识：
            Y-是；N-否
     *
     * @mbg.generated
     */
    private String isEnabled;

    /**
     * 商品分类ID
     *
     * @mbg.generated
     */
    private Integer categoryId;

    /**
     * 商品分类编码
     *
     * @mbg.generated
     */
    private String categoryCode;

    /**
     * 商品规格
     *
     * @mbg.generated
     */
    private String itemSpec;

    /**
     * 主条形码
     *
     * @mbg.generated
     */
    private String mainBarcode;

    /**
     * 批次管理标识：Y-是；N-否
     *
     * @mbg.generated
     */
    private String isBatchManaged;

    /**
     * 采购单位，比如：kg
     *
     * @mbg.generated
     */
    private String purUnitName;

    /**
     * 采购报价数量：是销售单位的n倍，比如顾客按顿报价，销售按公斤销售
     *
     * @mbg.generated
     */
    private Long purUnitQty;

    /**
     * 采购报价：单位-百分之一分，即4位小数
     *
     * @mbg.generated
     */
    private Long purPrice;

    /**
     * 净含税价格：单位-百分之一分，即4位小数，=采购报价/报价单位数量
     *
     * @mbg.generated
     */
    private Long buyPrice;

    /**
     * 销售单位名称【存储单位值value，比如：kg】
     *
     * @mbg.generated
     */
    private String saleUnitName;

    /**
     * 销售价格：单位-百分之一分，即4位小数
     *
     * @mbg.generated
     */
    private Long salePrice;

    /**
     * 销项税率：单位-千分之一
     *
     * @mbg.generated
     */
    private Integer taxRate;

    /**
     * 商品等级
     *
     * @mbg.generated
     */
    private String prodLevel;

    /**
     * 保质期天数：单位-天；
     *
     * @mbg.generated
     */
    private Integer validDays;

    /**
     * 原产地
     *
     * @mbg.generated
     */
    private String productArea;

    /**
     * 新商品日期
     *
     * @mbg.generated
     */
    private Date createDate;

    /**
     * 备注
     *
     * @mbg.generated
     */
    private String remark;

    /**
     * 单件重量(按库存单位)：单位-g
     *
     * @mbg.generated
     */
    private Long itemWeight;

    /**
     * 单件体积：单位-平方厘米
     *
     * @mbg.generated
     */
    private Long itemSize;

    /**
     * 商品ABC分类码
     *
     * @mbg.generated
     */
    private String abcCode;

    /**
     * 储存类型：A-鲜品；B-冻品
     *
     * @mbg.generated
     */
    private String freshFreezeType;

    /**
     * 商品归属
            A 平台商品，所有合格供应商可看
            B 内部商品，只有对应的供应商可看
     *
     * @mbg.generated
     */
    private String goodsAttach;

    /**
     * 创建人
     *
     * @mbg.generated
     */
    private String createUser;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改人
     *
     * @mbg.generated
     */
    private String modifyUser;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date modifyTime;

    /**
     * 每次更新自动+1
     *
     * @mbg.generated
     */
    private Long updateVersion;

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode == null ? null : goodsCode.trim();
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public String getIsEnabled() {
        return isEnabled;
    }

    public void setIsEnabled(String isEnabled) {
        this.isEnabled = isEnabled == null ? null : isEnabled.trim();
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode == null ? null : categoryCode.trim();
    }

    public String getItemSpec() {
        return itemSpec;
    }

    public void setItemSpec(String itemSpec) {
        this.itemSpec = itemSpec == null ? null : itemSpec.trim();
    }

    public String getMainBarcode() {
        return mainBarcode;
    }

    public void setMainBarcode(String mainBarcode) {
        this.mainBarcode = mainBarcode == null ? null : mainBarcode.trim();
    }

    public String getIsBatchManaged() {
        return isBatchManaged;
    }

    public void setIsBatchManaged(String isBatchManaged) {
        this.isBatchManaged = isBatchManaged == null ? null : isBatchManaged.trim();
    }

    public String getPurUnitName() {
        return purUnitName;
    }

    public void setPurUnitName(String purUnitName) {
        this.purUnitName = purUnitName == null ? null : purUnitName.trim();
    }

    public Long getPurUnitQty() {
        return purUnitQty;
    }

    public void setPurUnitQty(Long purUnitQty) {
        this.purUnitQty = purUnitQty;
    }

    public Long getPurPrice() {
        return purPrice;
    }

    public void setPurPrice(Long purPrice) {
        this.purPrice = purPrice;
    }

    public Long getBuyPrice() {
        return buyPrice;
    }

    public void setBuyPrice(Long buyPrice) {
        this.buyPrice = buyPrice;
    }

    public String getSaleUnitName() {
        return saleUnitName;
    }

    public void setSaleUnitName(String saleUnitName) {
        this.saleUnitName = saleUnitName == null ? null : saleUnitName.trim();
    }

    public Long getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(Long salePrice) {
        this.salePrice = salePrice;
    }

    public Integer getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(Integer taxRate) {
        this.taxRate = taxRate;
    }

    public String getProdLevel() {
        return prodLevel;
    }

    public void setProdLevel(String prodLevel) {
        this.prodLevel = prodLevel == null ? null : prodLevel.trim();
    }

    public Integer getValidDays() {
        return validDays;
    }

    public void setValidDays(Integer validDays) {
        this.validDays = validDays;
    }

    public String getProductArea() {
        return productArea;
    }

    public void setProductArea(String productArea) {
        this.productArea = productArea == null ? null : productArea.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Long getItemWeight() {
        return itemWeight;
    }

    public void setItemWeight(Long itemWeight) {
        this.itemWeight = itemWeight;
    }

    public Long getItemSize() {
        return itemSize;
    }

    public void setItemSize(Long itemSize) {
        this.itemSize = itemSize;
    }

    public String getAbcCode() {
        return abcCode;
    }

    public void setAbcCode(String abcCode) {
        this.abcCode = abcCode == null ? null : abcCode.trim();
    }

    public String getFreshFreezeType() {
        return freshFreezeType;
    }

    public void setFreshFreezeType(String freshFreezeType) {
        this.freshFreezeType = freshFreezeType == null ? null : freshFreezeType.trim();
    }

    public String getGoodsAttach() {
        return goodsAttach;
    }

    public void setGoodsAttach(String goodsAttach) {
        this.goodsAttach = goodsAttach == null ? null : goodsAttach.trim();
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(String modifyUser) {
        this.modifyUser = modifyUser == null ? null : modifyUser.trim();
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Long getUpdateVersion() {
        return updateVersion;
    }

    public void setUpdateVersion(Long updateVersion) {
        this.updateVersion = updateVersion;
    }

}